package com.singlemusic.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import com.singlemusic.pojo.Artists;

@SuppressWarnings("rawtypes")
@Service(value="artistService")
public class ArtistService extends BaseServiceImpl{
	
	@SuppressWarnings("unchecked")
	public boolean addSinger(Artists artists){
		return super.add(artists);
	}
	@SuppressWarnings("unchecked")
	public List<Artists> loadArtist(String hql, String[] param){
		return (List<Artists>)super.findByHql(hql, param);
	}
}
